package cn.wolfcode.luowowo.article.service.impl;

import cn.wolfcode.luowowo.article.domain.Flight;
import cn.wolfcode.luowowo.article.mapper.FlightMapper;
import cn.wolfcode.luowowo.article.query.FlightQuery;
import cn.wolfcode.luowowo.article.service.IFlightService;
import com.alibaba.dubbo.config.annotation.Reference;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
@Service
public class FlightServiceImpl implements IFlightService{
    @Autowired
    private FlightMapper flightMapper;
    @Override
    public List<Flight> query() {
        return flightMapper.selectAll();
    }
}
